#ifndef CUSTOMPOLYGONITEM_H
#define CUSTOMPOLYGONITEM_H

#include <QGraphicsPolygonItem>
#include <QWidget>
#include <QPainter>

class CustomPolygonItem : public QGraphicsPolygonItem
{
public:
    CustomPolygonItem();

    void setFillColor(QColor color);

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

protected:
    QColor _fillColor;
};

#endif // CUSTOMPOLYGONITEM_H
